<?php

namespace mpend\modules\wechat\controllers;

use Yii;
use yii\base\Exception;
use mpend\components\Controller;

/**
 * 文章相关接口
 * ArticleController controller for the `discover` module
 */
class JssdkController extends Controller {

    /**
     * @inheritdoc
     */
    public function actionIndex() {
        /* @var $wechat \common\components\wechat\MpWechat */
        $wechat = Yii::$app->wechat;
        return $wechat->jsApiConfig();
    }

}
